package com.chuangshu.chuangshuteam.service;

import com.chuangshu.chuangshuteam.dto.AssessmentQuestionsDTO;
import com.chuangshu.chuangshuteam.dto.Result;
import com.chuangshu.chuangshuteam.entity.AssessmentQuestions;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chuangshu.chuangshuteam.vo.AssessmentQuestionsVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author k
 * @since 2025-09-21
 */
public interface AssessmentQuestionsService extends IService<AssessmentQuestions> {

    void addQuestionsByRecruitmentCyclesId(AssessmentQuestionsVO assessmentQuestionsVO);

    Result getByPage(Integer page, Integer pageSize);

    List<AssessmentQuestionsDTO> getQuestionsByRecruitmentCyclesId(Long recruitmentCyclesId);

    AssessmentQuestionsDTO queryById(Long id);

    Result updateQuestions(AssessmentQuestionsVO assessmentQuestionsVO);

    Result deleteQuestionsById(Long id);
}
